home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
util1
/
opnlbenh.rea
< prev
next >
Wrap
Text File
|
1996-02-22
|
3KB
|
99 lines
Short: OpenLib() looks in PROGDIR: and more. V1.3
Author: kessler@fim.uni-erlangen.de (Thomas Kessler)
Uploader: kessler@fim.uni-erlangen.de (Thomas Kessler)
Version: 1.3
Type: util/boot
Requires: OS2.0+
Replaces: util/boot/OpenLibEnh*
OpenLibEnhancer OpenLibEnhancer
NAME
OpenLibEnhancer
VERSION
OpenLibEnhancer 1.3 by Thomas Kessler (14.11.95)
DISCLAIMER
Copyright ©1995 by
Thomas Kessler, Sonnenstrasse 95, D-91564 Neuendettelsau, Germany.
This program is FREEWARE.
If you like it, just send me something ($$, email, Zorro-III cards,
whatever-you-like) and you will become a registered user. You will
receive every update for free via email as registered user.
It is illegal to distribute this program on disks which cost
more than US $5 per floppy disk, or more than US $20 per CD.
This software is provided as-is, without warranty of any kind,
either expressed or implied. In no event will the author be liable
for direct, indirect, incidental or consequential damages or data
loss resulting from the use or application of this software. The
entire risk as to the results and performance of this software is
assumed by the user.
SYNOPSIS
OpenLibEnhancer NOPROGDIR/S,NOLIBS/S,NOCLASSES/S
NOPROGDIR Do not search in PROGDIR:
NOLIBS Do not search in PROGDIR:Libs/
NOCLASSES Do not search in PROGDIR:Classes/
Most users _won't_ need these switches.
FUNCTION
If a program opens a library then the ramlib-module of
AmigaOS looks for it first in ROM and RAM, then in LIBS:
and then in the current directory.
But if you start a program which has its own library in
its own directory by typing "dh1:owndir/myprogram" and
the current directory is your "SYS:" partition, your
program will not find the library (unless it searches
it in this special place).
If a program looks for a library with a given path, e.g.
"Blubb:blubberlibs/blubber.library" and it does not find
it there, OpenLibEnhancer will also become active.
OpenLibEnhancer enhances the OpenLibrary() function by
looking for your library in "PROGDIR:" "PROGDIR:Libs/"
and even in "PROGDIR:Classes/" if the library could not
be opened in the normal way.
With OpenLibEnhancer there is no more need to type all
these assigns any more if you got a new program and you
just want to do a quick test without installing all the
data.
INPUTS
None. Just put OpenLibEnhancer in your WBStartup-drawer
or add it to your user-startup (recommended) and that's it.
NOTE
As the OpenLibrary() function is patched, your viruskiller
may report an unknown vector.
Only the OpenLibrary() function is patched, but everything
should work also for those (poor) programs, which call
OldOpenLibrary(), because OldOpenLibrary() does nothing else
than calling OpenLibrary() with version 0. (That is the case
with OS3.x, I don't know about earlier releases of the OS :-)
Start OpenLibEnhancer in your user-startup (after ENV: exists)
as it uses an environment-variable.
HISTORY
1.0 (14.10.95) First (not really) public release.
1.1 (15.10.95) Fixed a very small bug which could lead
to a crash in low-memory situations.
Fixed PROGDIR: assign for WBStartup-programs.
1.2 (01.11.95) Added commandline configuration.
Added libname-strip
1.3 (14.11.95) Added wb-support for use in WBStartup
AUTHOR
Thomas Kessler (kessler@fim.uni-erlangen.de)